object RelationalLogicOpDemo {
  def main(arge:Array[String]): Unit={
    val avgScore: Double = 78.0
    val totalScore: Int = 490

    val isPass: Boolean = avgScore >= 60
    val isMeetStandard: Boolean = totalScore>=400

    val isQualified: Boolean = isPass&&isMeetStandard

    println(s"平均成绩>=60(及格) : $isPass")
    println(s"总分>=480(达标) : $isMeetStandard")
    println(s"及格且达标(合格) : $isQualified")

  }
}
